angular.module("third",[])
.config(["$stateProvider",function($stateProvider){
	$stateProvider.state("/third",{
		url:"/third",
		templateUrl:"html/third_page/third.html",
		controller:"thirdController",
		css:"html/third_page/third.css"
	})
}]).controller("thirdController",function($rootScope,$scope,$http){
	$rootScope.navigate = false;
	$http.get("html/third_page/third.json").then(function(data){
		$scope.arr = data.data;
		$scope.arr1 = data.data.best_select;
		$scope.arr2 = data.data.yoghourt;
		$scope.arr3 = data.data.greedy;
	});
})